package com.jin;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

@SpringBootApplication//Ribbon 和 Eureka 整合以后，客户端可以直接调用，不用关心IP地址和端口号
@EnableEurekaClient //开启Eureka 客户端
@EnableFeignClients(basePackages = {"com.jin"})
public class feignDeptComsumer_80 {
    public static void main(String[] args) {
        SpringApplication.run(feignDeptComsumer_80.class,args);
    }
}
